package process.model;


public class MenuNode {
	private String url;
	private int depth;
	private String text;
	private MenuNode parent;

	public MenuNode(String url, int depth, String text) {
		this.url = url;
		this.depth = depth;
		this.text = text;
	}
	
	public MenuNode(String text) {
		this("", 0, text);
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getDepth() {
		return depth;
	}

	public void setDepth(int depth) {
		this.depth = depth;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public MenuNode getParent() {
		return parent;
	}

	public void setParent(MenuNode parent) {
		this.parent = parent;
	}
}
